<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('TechAdmin/liuyan')}">留言信息列表</a></li>
        <li class="active"><a href="#">回复留言</a></li>
    </ul>
    <form action="{:url('TechAdmin/reliuyan')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <input type="text" value="{$res.id}" class="form-control" name="id" style="display:none">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <tr>
                        <th style="text-align: center">留言人的姓名：</th>
                        <td>
                            <input type="text" class="form-control" name="xingming"   value="{$res.name}" readonly>
                        </td>
                    </tr>
                    <tr>
                        <th style="text-align: center">留言：</th>
                        <td>
                            <input type="text" value="{$res.content}" class="form-control" name="content"  readonly>
                        </td>
                    </tr>
                    <tr>
                        <th style="text-align: center">回复内容：</th>
                        <td>
                            <textarea type="text" name="recontent" class="form-control"  required style="height:200px;">{$res.recontent}</textarea>
                        </td>
                    </tr>
                </table>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">提交</button>
                        <a class="btn btn-default" href="{:url('TechAdmin/liuyan')}">{:lang('BACK')}</a>
                    </div>
                </div>
            </div>

        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>

</body>
</html>